import { vnode } from "types"

export function extend<T extends object, U extends object>(
  obj1:T, obj2:U):T&U {
  
  Object.keys(obj2).forEach(k=>{

  })

  return obj1 as T&U
}

export function isString() {}
export function isObject() {}

export function isSameVNodeType(n1:vnode, n2:vnode) {
  return n1.tag === n2.tag && n1.key === n2.key
}



